package com.example.javabasic.thread.classtwo.lock.demo2;

public class Test {
    public static void main(String[] args) {
        Door door = new Door();
        User uesr = new User(door,"A张","A张");
        User uesr1 = new User(door,"B王","B王");
        User uesr2 = new User(door,"C李","C李");
        User uesr3 = new User(door,"D赵","D赵");
        uesr.start();
        uesr1.start();
        uesr2.start();
        uesr3.start();

    }
}
